<% form_for :req, @req do |f| %>
  <%= render :partial => f %>
  <label>&nbsp;</label>
  <input type="button" value="Submit" onclick="edit_req(<%=@req.id%>);">
  <input type="button" value="Cancel" onclick="cancel_req(<%=@req.id%>);">
  <%= hidden_field_tag(:req_id, @req.id) %>
<% end %>

